import Vue from 'vue'
import Router from 'vue-router'

import Index from './pages/Index.vue'
import Data from './pages/Data'
import TaskAdd from './pages/TaskAdd'

Vue.use(Router)

export default new Router({
  routes: [

    {
      path: '/',
      name: 'index',
      component: Index
    }
    {
      path: '/index',
      name: 'index',
      component: Index
    }, {
		path: '/taskadd',
		name: 'taskadd',
		component: TaskAdd
	}, {
		path: '/data',
		name: 'data',
		component: Data
	}
  ]
})



